package com.letoken.platform.repo.app.req.token;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author wyl
 * @date 2022/12/22
 */
@Data
@ApiModel(value = "用let提现请求对象", description = "用let提现请求对象")
public class WithdrawLetReq {





    @ApiModelProperty(name = "amount", value = "提现数量", required = true, example = "1500")
    @NotNull(message = "80303002")
    private BigDecimal amount;

    @ApiModelProperty(name = "userAddressOrUserId", value = "提现目标账户钱包地址或者账户id", required = true, example = "0x8af8e1e4df2b0ab6bfdb4b15ca15be2566169d38")
    @NotBlank(message = "80303011")
    private String userAddressOrUserId;


}
